﻿Public Class AuthorizationEntityItem

	Private mentity_id As String
	<SS.ORM.Attributes.DatabaseField("ENTITY_ID")> _
 Public Property entity_id As String
		Get
			Return mentity_id
		End Get
		Set(ByVal value As String)
			mentity_id = value
		End Set
	End Property

	Private mentity_key As String
	<SS.ORM.Attributes.DatabaseField("ENTITY_KEY")> _
 Public Property entity_key As String
		Get
			Return mentity_key
		End Get
		Set(ByVal value As String)
			mentity_key = value
		End Set
	End Property

	Private mrole_id As String
	<SS.ORM.Attributes.DatabaseField("ROLE_ID")> _
 Public Property role_id As String
		Get
			Return mrole_id
		End Get
		Set(ByVal value As String)
			mrole_id = value
		End Set
	End Property

	Private mhide_control As String
	<SS.ORM.Attributes.DatabaseField("HIDE_CONTROL")> _
 Public Property hide_control As String
		Get
			Return mhide_control
		End Get
		Set(ByVal value As String)
			mhide_control = value
		End Set
	End Property

	Public ReadOnly Property IsHideControl As Boolean
		Get
			If Me.mhide_control.Equals("Y") Then
				Return True
			Else
				Return False
			End If
		End Get
	End Property

End Class
